import axios from '@/utils/http.js'

// 获取留言列表
export const getLeavewordListAPI = (params) => axios.get('/admin/leaveword', { params })
// 删除留言
export const deleteLeavewordAPI = (ids) => axios.delete('/admin/leaveword', { data: { ids } })

// 获取评论列表
export const getCommentListAPI = (params) => axios.get('/admin/comment', { params })

// 删除评论
export const deleteCommentAPI = (ids) => axios.delete('/admin/comment', { data: { ids } })

// 获取反馈列表
export const getFeedbackListAPI = (params) => axios.get('/admin/feedback', { params })

// 删除反馈
export const deleteFeedbackAPI = (data) => axios.delete('/admin/feedback', { data })
